home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-11-15 | 2.3 KB | 52 lines | [TEXT/MPS ] |
- #
- # mark young • 08/02/94
- #
-
- # To build this example, choose the "Build…" menu item from within
- # the "Build" menu in MPW. When asked for Program Name, type in the
- # script name, in this case "daRules" ( without double quotes )
- # and press the Enter key. Be sure that the Current Working Directory
- # for MPW is set to the directory containing this example.
-
- # To build the Debugger version of this example, choose the "Build…"
- # menu item from within the "Build" menu in MPW. When asked for Program
- # Name, type in the script name, in this case "daRules.debug" ( without
- # double quotes ) and press the Enter key. Be sure that the Current
- # Working Directory for MPW is set to the directory containing this example.
-
- # If you want to use this makefile to build an installation from an
- # installer source script ( .r ) with a different filename, just replace
- # "daRules" with the filename for your installer source script but
- # leave off the ".r" portion of the source script filename.
- scriptName = daRules
- debugScriptName = "{scriptName}.debug"
-
- # You may change the following paths as you see fit. Currently all paths
- # are set so that scripts will compile when using the original directory
- # layout from the Installer SDK.
-
- # You may place the ScriptCheck tool in the 'MPW:Tools' directory. Doing this
- # removes the need for the {ScriptCheckDir} variable within the makefile.
- ScriptCheckDir = :::ScriptCheck 4.0.3:
-
- # You may place "InstallerTypes.r" file in the 'MPW:Interfaces:RIncludes:' directory.
- # Doing this removes the need for the {InstallerRIncDir} variable or -i specification
- # for Rez within the makefile.
- InstallerRIncDir = :::DeveloperInterfaces:RIncludes:
-
- # You may place "Installer Debugger.r" file in the 'MPW:Interfaces:RIncludes:' directory.
- # Doing this removes the need for the {InstallerDebuggerDir} variable within the makefile.
- InstallerDebuggerDir = :::Installer Debugger 4.0:
-
- "{debugScriptName}" ƒ "{scriptName}"
- Duplicate -y {scriptName} "{scriptName} w/ Debugger"
- Rez -m "{InstallerDebuggerDir}Installer Debugger.r" -append -o "{scriptName} w/ Debugger"
-
- {scriptName} ƒ "{scriptName}.r"
- set theTime "'`date -d -s` 12:00:00 PM'"
- Rez "{scriptName}.r" -o "{scriptName}" -t 'kajr' -c 'kajr' -i "{InstallerRIncDir}"
- SetFile -a b -d {theTime} {scriptName}
- "{ScriptCheckDir}ScriptCheck" "{scriptName}" -h -d -a
- SetFile -m {theTime} "{scriptName}"
-
-